import React, {Component} from 'react';
import './style.scss'
import Topic from "../../components/topic";
class Home extends Component {

    render() {
        let topics = []
        for (let i = 0; i < 100; i++) {
            topics.push(i)
        }
        return (
            <div id='home'>
                <div className='left'>
                    <img className='banner' src='https://upload.jianshu.io/admin_banners/web_images/4581/14d959ff757f21616baa933fd3bdbfcf52fd512a.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/1250/h/540'/>
                    {topics.map(()=>{
                        return <Topic/>
                    })}
                </div>
                <div className='right'></div>
            </div>
        );
    }
}

export default Home;
